<!DOCTYPE html>
<html>

<head>
  <meta charset="utf-8">
  <title>文件上传测试</title>
  <link rel="stylesheet" href="./index.css" />
</head>

<body>
<!-- 用表单上传 -->
<div class="usingForm">
<!--  <form enctype="multipart/form-data" method="POST" action="/upload">-->
<!--    <input class="formName" type="text" name="name" />-->
<!--    <input class="uploadFile" type="file" name="file" />-->
<!--    <input type="submit" value="upload" />-->
<!--  </form> multiple  -->

 <!-- <form enctype="multipart/form-data" method="POST" action="/uploadimg">-->
  <form enctype="multipart/form-data">
    <!--<input type="text" name="imgColName" />-->
    <input type="file" name="file" id="upfile" />
   <!-- <input type="submit" value="upload" />-->
    <input type="Button" value="upload"  id="uploadBtn" />

  </form>

</div>
<div class="uploadButton">上传(JS)</div>
<script src="./index.js"></script>
</body>

</html>